﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MenuPrincipal.ascx.cs" 
    Inherits="Bastanteo.Controles.MenuPrincipal" %>
  <table cellspacing="0" cellpadding="0" id="TABLE3" width="100%">
      <tr>
            <td align="left"><img alt="Perubank" src="../Imagenes/logo_peru.jpg"/></td>
            <td align="right" class="titulon">
                <%= System.Configuration.ConfigurationManager.AppSettings["TituloArea"]%>
            </td>
            <td align="right" style="width:50px;" >
            <img src="../Imagenes/cuadros.jpg" /></td>
      </tr>
  </table>
  <table cellspacing="0" cellpadding="0" id="TABLE1" width="100%">
          <tr>
                <td style="width:70%; height:20"><asp:Label ID="lblTitulo" Runat="server" CssClass="oTitulo" style="MARGIN-LEFT:5px" Width="410"></asp:Label></td>
                <td style="width:30%" align="right"><asp:Label ID="lblUsuario" Runat="server" CssClass="usuario" style="MARGIN-LEFT:5px"></asp:Label></td>
          </tr>
  </table>  
  <table style="WIDTH: 100%; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #000080">
  <tr>
    <td colspan="2">
        <asp:Menu ID="mnuPrincipal" staticdisplaylevels="1" disappearafter="500"  Runat="server" Height="20px"  
            Orientation="Horizontal" style="margin-left:5px" ForeColor="White" Font-Names="Tahoma" Font-Size="11px" Font-Bold="true">
            <DynamicMenuStyle BorderColor="#cccccc" BorderWidth="1" />
            <DynamicHoverStyle CssClass="oMenuHover" />
            <DynamicMenuItemStyle BackColor="#000080" CssClass="oMenuItem" HorizontalPadding="5" Font-Bold="true" />
        </asp:Menu>
     </td>
    </tr>
</table>
<script language="javascript">
    function MostrarExamen(url) {
        //var url;
        var w = 740;
        var h = 537;
        //url='examen/ValidacionCandidato.aspx?s=<%=Request.QueryString["s"]%>'; 
        var leftScreen = (screen.width - w) / 2;
        var topScreen = (screen.height - h) / 2;
        var opciones = "directories=no,menubar=no,scrollbars=yes,status=yes,resizable=yes,width=" + w + ",height=" + h + ",left=" + leftScreen + ",top=" + topScreen;
        var ventanaConsulta;
        ventanaConsulta = window.open(url, 'Examen', opciones);
        ventanaConsulta.focus();
    }        
    </script>
